#include <stdio.h>
#include "mymath.h"

int main()
{
	int num, i;

	scanf("%d", &num);
	printf("%d的立方和是%d\n", num, cube_sum(num));

	printf("Fib:\n");
	for (i = 1; i <= 10; i++) {
		printf("%d ", fib(i));
	}
	printf("\n");

	printf("水仙花:\n");
	for (i = 100; i < 1000; i++) {
		if (cube_sum(i) == i)
			printf("%d ", i);
	}
	printf("\n");

	return 0;
}
